package com.dongdongshop.service;

import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface BrandService {

    //查询全部
    List<TbBrand> findAll(String name) ;

    //增加 brand 数据
    int addBrand(TbBrand brand);

    //删除brand 数据
    void deleteBrand(Long[] ids);

    //回显方法
    TbBrand getById(Integer id);

    //修改数据
    int updateBrand(TbBrand brand);
}
